import Vue from 'vue'
import App from './App'
import router from './router'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
// 注协为全局组件
import TypeNav from './components/TypeNav'

import './assets/css/reset.css'

import "./api.js";

// 引入仓库
import store from './store'


// import {reqCategoryList} from './Api'
// reqCategoryList();

Vue.component(TypeNav.name,TypeNav)

Vue.config.productionTip = false
Vue.use(MintUI)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
